﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading;
using NUnit.Framework;
using Spring.Testing.NUnit;

namespace uNhAddIns.SpringAdapters.Tests
{
    public class TestsBase : AbstractDependencyInjectionSpringContextTests
    {
        [TestFixtureSetUp]
        public void Init()
        {
            Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-GB");
        }

        #region Overrides of AbstractDependencyInjectionSpringContextTests
        protected override string[] ConfigLocations
        {
            get
            {
                return new[]
                           {
                               "assembly://uNhAddIns.SpringAdapters.Tests/uNhAddIns.SpringAdapters.Tests/TestConfig.xml",
                               "assembly://uNhAddIns.SpringAdapters.Tests/uNhAddIns.SpringAdapters.Tests/PersistenceConfig.xml"
                               //"assembly://MyLibrary.Tests/MyLibrary.Tests/ServicesConfig.xml",
                               //"assembly://MyLibrary.Tests/MyLibrary.Tests/AopConfig.xml",
                               //"assembly://MyLibrary.Tests/MyLibrary.Tests/PersistenceConfig.xml",
                               //"assembly://MyLibrary.Tests/MyLibrary.Tests/PresentationConfig.xml",
                               //"assembly://MyLibrary.Tests/MyLibrary.Tests/TestConfig.xml"
                           };
            }
        }
        #endregion
    }
}
